/**
 * 日志工具类
 */
import hilog from '@ohos.hilog';
export class LogUtil {

  private static readonly DOMAIN: number = 0x5555;
  private static readonly TAG: string = "SSELog";

  static info = (format: string, ...args: any) => {
    hilog.info(LogUtil.DOMAIN, LogUtil.TAG, format, args);
  }

  static error = (format: string, ...args: any) => {
    hilog.error(LogUtil.DOMAIN, LogUtil.TAG, format, args);
  }
}